﻿
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;

namespace Oliving.Edge.Model.Dto
{
    ///<summary>
    ///数据字典明细表
    ///</summary> 

    [Serializable]
    public class Sys_DataDictionaryPageDto
    {
        public Sys_DataDictionaryPageDto()
        {
        }

        /// <summary> 
        /// Desc:明细主键 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        public string DD_Id { get; set; }

        /// <summary> 
        /// Desc:父级主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "父级主键不能为空,内存长度超出 范围")]
        public string DD_ParentId { get; set; }

        /// <summary> 
        /// Desc:编码 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "编码不能为空,内存长度超出 范围")]
        public string DD_Code { get; set; }

        /// <summary> 
        /// Desc:名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "名称不能为空,内存长度超出 范围")]
        public string DD_Name { get; set; }

        /// <summary> 
        /// Desc:值 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "值不能为空,内存长度超出 范围")]
        public string DD_Value { get; set; }

        /// <summary> 
        /// Desc:快速查询 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(200, MinimumLength = 1, ErrorMessage = "快速查询不能为空,内存长度超出 范围")]
        public string DD_QuickQuery { get; set; }

        /// <summary> 
        /// Desc:简拼 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(200, MinimumLength = 1, ErrorMessage = "简拼不能为空,内存长度超出 范围")]
        public string DD_SimpleSpelling { get; set; }

        /// <summary> 
        /// Desc:是否默认 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public string DD_IsDefault { get; set; }

        /// <summary> 
        /// Desc:排序码--------------------------- 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? SortCode { get; set; }

        /// <summary> 
        /// Desc:删除标记 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? DeleteMark { get; set; }

        /// <summary> 
        /// Desc:有效标志 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int? EnabledMark { get; set; }

        /// <summary> 
        /// Desc:备注 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(200, MinimumLength = 1, ErrorMessage = "备注不能为空,内存长度超出 范围")]
        public string Description { get; set; }

        /// <summary> 
        /// Desc:创建日期 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? CreateDate { get; set; }

        /// <summary> 
        /// Desc:创建用户主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "创建用户主键不能为空,内存长度超出 范围")]
        public string CreateUserId { get; set; }

        /// <summary> 
        /// Desc:创建用户 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "创建用户不能为空,内存长度超出 范围")]
        public string CreateUserName { get; set; }

        /// <summary> 
        /// Desc:修改日期 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? ModifyDate { get; set; }

        /// <summary> 
        /// Desc:修改用户主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户主键不能为空,内存长度超出 范围")]
        public string ModifyUserId { get; set; }

        /// <summary> 
        /// Desc:修改用户 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户不能为空,内存长度超出 范围")]
        public string ModifyUserName { get; set; }

    }

}
